<template>
  <div>
    <a-form-item
      label="权限标识"
      name="perms"
      :required="menuForm.menuType === MenuTypeEnum.BUTTON"
    >
      <a-input allow-clear v-model:value="menuForm.perms"></a-input>
    </a-form-item>
    <a-alert message="相当于一个容器，能添加其他类型的菜单"></a-alert>
  </div>
</template>

<script setup lang="ts">
import { MenuTypeEnum } from '@/api/modules/system/menu/types';
import { menuForm } from '../data/form';
</script>

<style lang="scss" scoped></style>
